Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

u3: restore old-style, efficient reap to u3m_love() #538

Merged
merged 5 commits into from
Nov 29, 2023
Merged

Conversation

joemfb
Copy link
Member

@joemfb joemfb commented Oct 10, 2023

This PR effectively reverts urbit/urbit#1753, which simplified cache promotion when falling back to an outer road, at the expense of allocation efficiency.

Early testing shows significant positive effects mitigating snapshot patch size (see urbit/urbit#6805)

@joemfb joemfb requested a review from a team as a code owner October 10, 2023 19:38
@joemfb
Copy link
Member Author

joemfb commented Oct 10, 2023

For posterity, f747d86 is extending the fix from urbit/urbit#1059 to hank cache promotion.

@joemfb joemfb requested a review from frodwith October 12, 2023 14:51
ashelkovnykov
ashelkovnykov previously approved these changes Oct 18, 2023
Copy link
Contributor

@ashelkovnykov ashelkovnykov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Went through this @joemfb . Only part I didn't 100% understand was the hank stuff, but I understood it well enough based on cargo-culting of form to approve this PR.

@joemfb joemfb merged commit 343c4d9 into develop Nov 29, 2023
5 checks passed
@joemfb joemfb deleted the jb/just-reap branch November 29, 2023 18:23
pkova added a commit that referenced this pull request Mar 1, 2024
Reverts #538

My ship ran into a refcounting bug during pre-release testing of
vere-v3.0. The only part of the release that touches the relevant
codepath is this PR, so we have decided to revert it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants